projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90d8445
)
* dispnew.c (Fframe_of_buffer_changed_p): Use ptrdiff_t, not int.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 27 Sep 2011 16:00:12 +0000
(09:00 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 27 Sep 2011 16:00:12 +0000
(09:00 -0700)
src/ChangeLog
patch
|
blob
|
history
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index a273fd6ece09f76d2b9c473b46a29cbd0ea21bee..52514d36429d2633a0e8f6932b760c7ee75ef229 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-219,7
+219,7
@@
(increment_row_positions, mode_line_string)
(marginal_area_string):
Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough.
- (change_frame_size_1, Fredisplay):
+ (change_frame_size_1, Fredisplay
, Fframe_or_buffer_changed_p
):
Use ptrdiff_t, not int, to avoid needless 32-bit limit on 64-bit hosts.
(duration_to_sec_usec): New function, to check for overflow better.
(Fsleep_for, sit_for): Use it.
diff --git
a/src/dispnew.c
b/src/dispnew.c
index 264db3ce4f92412ba20e0c6955b701f6aed6e0a5..32795a5fed9d9c5479f6d17fdd3836983bbad885 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-6033,7
+6033,7
@@
pass nil for VARIABLE. */)
{
Lisp_Object state, tail, frame, buf;
Lisp_Object *vecp, *end;
-
in
t n;
+
ptrdiff_
t n;
if (! NILP (variable))
{